package com.muyi.service;

import com.muyi.pojo.entity.Account;
import com.muyi.pojo.entity.User;
import com.muyi.pojo.vo.Result;

public interface UserService {
    Result addUser(User user) throws Exception;
    Result deleteUserById(Integer user_id) throws Exception;
    Result updateUser(User user) throws Exception;
    Result getUserById(Integer user_id) throws Exception;
    Result register(Account account) throws Exception;
    Result login(String nickname,String pwd) throws Exception;
    Result getUserBySearch(User user,Integer pageNo,Integer pageSize) throws Exception;
    Result deleteuserByIds(Integer[] user_ids) throws Exception;

}
